#include "class.Node.h"
#include <string>
Node::Node(){}

Node::~Node(){}

Node::Node(std::string content)
{
    this->content = content;
}

std::string Node::getContent()
{
    return this->content;
}

void Node::setContent(std::string content)
{
    this->content = content;
}

Node* Node::getNext()
{
    return next;
}

Node* Node::getPrev()
{
    return prev;
}

void Node::setNext(Node* node)
{
    if(node != NULL)this->next = node;
}

void Node::setPrev(Node* node)
{
    if(node != NULL)this->prev = node;
}